<?php
/**
 * Created By base
 * Author: Virus
 * Desc: 空控制器或空方法提示
 * Date: 2020/3/7
 * Time: 20:07
 */

namespace app\admin\controller;


use think\Controller;

class Error extends Controller
{
    public function index()
    {
        $name = CONTROLLER_NAME.'控制器';

        return view("common/404", compact('name'));
    }

    public function _empty($name)
    {
        $name .= '方法';

        return view('common/404', compact('name'));
    }
}